import App from './App'
import Fw from '@/common/index.js'
import store from '@/store/index.js'
import share from '@/utils/share.js'
import { goBack } from '@/utils/common.js' //公共方法
Object.assign(Vue.prototype, {
	'$goBack':goBack,
})



import Vue from 'vue'
Vue.mixin(share)
import './uni.promisify.adaptor'
Vue.config.productionTip = false
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
Vue.prototype.$Fw = Fw

App.mpType = 'app'
const app = new Vue({
  ...App,
  store
})
app.$mount()


// // #ifdef VUE3
// import { createSSRApp } from 'vue'
// export function createApp() {
//   const app = createSSRApp(App)
//   return {
//     app
//   }
// }
// // #endif